import Vue from "vue"

export default{
    setCount(state){
         Vue.set(state.count,"sex","未知")
         localStorage.setItem("vuex-count",JSON.stringify(state))
    },
    setCountWait(state){
         state.count = {...state.count,age:state.count.age+1}
         localStorage.setItem("vuex-count",JSON.stringify(state))
    }
}